package org.ejc.business.login;

/**
 * 
 * @author Brian Boyle
 * Validates the login password
 */
public class ExecutiveValidation {

	/**
	 * This method checks to see if passwords match at login time
	 * @param inputPassword
	 * @param password
	 * @return Return True if passwords match, false otherwise
	 * @pre inputPassword != null
     */
	public boolean validatePassword(String inputPassword, String password) {
		if (inputPassword.equals(password))
			return true;
		else
			return false;
	}
}
